/**
 * 
 */
package com.cnhaimei.com;

import java.io.Serializable;

/**
 * 
 * @author Jin001.Wu@gmail.com <br>
 *
 */
public class PageWrapper implements Serializable{
	private static final long serialVersionUID = 8824244817193685309L;
	
	int curPage;
	int totalCount;
	Object data;

	public int getCurPage() {
		return curPage;
	}

	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}

	public int getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(int total) {
		this.totalCount = total;
	}

	@SuppressWarnings("unchecked")
	public <T> T getData() {
		return (T) data;
	}

	public void setData(Object data) {
		this.data = data;
	}

}
